package org.logic.membershipFunctions;

public class RectangularFunction extends AMembershipFunction{


	public RectangularFunction(double max, double min, double minFactor, double maxFactor) {
	
		double distance = max - min;
		
		h = 1;
		x1 = min + distance*minFactor;
		x2 = x1;
		x3 = min + distance*maxFactor;
		x4 = x3;
	}
}
